'use strict';

module.exports = app => {
	const {INTEGER,STRING}=app.Sequelize;

	const DispatchDeck=app.model.define('dispatchDeck',{
		id:{type:INTEGER,primaryKey:true},
		operatorType_id:{type:INTEGER},
		name:{type:STRING(64)},
		avail_area:{type:STRING(600)},
		forbidden_area:{type:STRING(600)},
		status:{type:INTEGER},
		type:{type:INTEGER},
		dosage:{type:STRING(32)},
		apn:{type:STRING(128)},
		remark:{type:STRING(500)},
		create_id:{type:INTEGER},
		create_name:{type:STRING(64)},
		create_time:{type:INTEGER},
		update_time:{type:INTEGER}});
	return DispatchDeck;
};